x86: make arch_set_info_guest() match comments in load_segments()
authorJan Beulich <jbeulich@suse.com>
Fri, 17 Aug 2018 11:51:27 +0000 (13:51 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 17 Aug 2018 11:51:27 +0000 (13:51 +0200)
commit520116f7b14e19668cfbc660cd42e8cdc09193cd
treebdca48ef0f1453b4575dd3aeae257b1c1e46e15d
parent3e4ec07e14bce81f6ae22c31ff1302d1f297a226
x86: make arch_set_info_guest() match comments in load_segments()

For both fs_base and gs_base_user, there are comments saying "This can
only be non-zero if selector is NULL." While save_segments() ensures
this, so far arch_set_info_guest() didn't. Make behavior consistent
(attaching comments identical to those in save_segments()).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/domain.c